//
// Created by 123 on 2024/12/30.
//
#include "iostream"
using namespace std;
//全局变量
int g_a = 10;
int g_b = 10;

//全局常量
const int g_c_a = 10;
const int g_c_b = 10;

int main039(){
    //局部变量
    int a = 10;
    int b = 10;
    //打印地址
    cout << "a==" << &a << endl;
    cout << "b==" << &b << endl;
    cout << "g_a==" << &g_a << endl;
    cout << "g_b==" << &g_b << endl;

    static int s_a = 10;
    static int s_b = 10;
    cout << "s_a==" << &s_a << endl;
    cout << "s_b==" << &s_b << endl;
    cout << "g_c_a==" << &g_c_a << endl;
    cout << "g_c_b==" << &g_c_b << endl;




    return 0;
}